package org.yefei.homeworkday19;

import java.util.ArrayList;
import java.util.List;

public class PreviewList {

	public static void main(String[] args) {
		int[] arr = { 2, 34, 56, 67, 3, 2 };
		List list = new ArrayList();
		for (int i = 0; i < arr.length; i++) {
			if (!(list.contains(arr[i])))
				list.add(arr[i]);
		}
		for (Object object : list) {
			System.out.print(object + "  ");
		}

	}

}
